﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Windows.Forms;
using System.Collections.ObjectModel;

namespace Cataloger
{
    [Serializable]
    public class Kategorie:KeyedCollection<string,Kategoria>
    {
        protected override string GetKeyForItem(Kategoria item)
        {
            return item.Nazwa;   
        }

    }
}
